package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author AppiJ
 * @since 2020-12-03
 */
@TableName("user_im_analysis")
public class UserImAnalysis implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 日期
	 */
	@TableField(value="date_time")
	private String dateTime;

	/**
	 * 发送者id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 文本消息数量
	 */
	@TableField(value="text_num")
	private Integer textNum;

	/**
	 * 图片消息数量
	 */
	@TableField(value="picture_num")
	private Integer pictureNum;

	/**
	 * 语音消息数量
	 */
	@TableField(value="audio_num")
	private Integer audioNum;

	/**
	 * 视频消息数量
	 */
	@TableField(value="video_num")
	private Integer videoNum;

	/**
	 * 自定义消息数量
	 */
	@TableField(value="custom_num")
	private Integer customNum;

	/**
	 * 消息总数
	 */
	@TableField(value="total_num")
	private Integer totalNum;

	public UserImAnalysis() {
	}

	public UserImAnalysis(String dateTime, Integer userId, Integer textNum, Integer pictureNum, Integer audioNum,
						  Integer videoNum, Integer customNum, Integer totalNum) {
		this.dateTime = dateTime;
		this.userId = userId;
		this.textNum = textNum;
		this.pictureNum = pictureNum;
		this.audioNum = audioNum;
		this.videoNum = videoNum;
		this.customNum = customNum;
		this.totalNum = totalNum;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDateTime() {
		return dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTextNum() {
		return textNum;
	}

	public void setTextNum(Integer textNum) {
		this.textNum = textNum;
	}

	public Integer getPictureNum() {
		return pictureNum;
	}

	public void setPictureNum(Integer pictureNum) {
		this.pictureNum = pictureNum;
	}

	public Integer getAudioNum() {
		return audioNum;
	}

	public void setAudioNum(Integer audioNum) {
		this.audioNum = audioNum;
	}

	public Integer getVideoNum() {
		return videoNum;
	}

	public void setVideoNum(Integer videoNum) {
		this.videoNum = videoNum;
	}

	public Integer getCustomNum() {
		return customNum;
	}

	public void setCustomNum(Integer customNum) {
		this.customNum = customNum;
	}

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

}
